<?php echo $this->lang->line( 'dashboard' ); ?>
<?php
//Debug Mode for administrator
if( $this->session->userdata('group_id') == 2 ){
	print_r( $this->session->userdata );
} //if

if( $this->session->userdata('template') == 'trassenheide' ){
	$idSite = 6;
	$start = date( "Y-m-d", time() - ( 31 * 24 * 60 * 60 ) );
	$end = date( "Y-m-d" );
	?>
	<?php echo $this->lang->line( 'statistics' ); ?>
	<object style="visibility: visible;" id="VisitsSummarygetEvolutionGraphChart_swf" data="http://www.conlabz.de/report/libs/open-flash-chart/open-flash-chart.swf?piwik=0.5.4" bgcolor="#FFFFFF" type="application/x-shockwave-flash" height="150" width="100%">
		<param value="always" name="allowScriptAccess">
		<param value="opaque" name="wmode">
		<param value="data-file=http%3A%2F%2Fwww.conlabz.de%2Freport%2Findex.php%3Fmodule%3DVisitsSummary%26action%3DgetEvolutionGraph%26columns%5B%5D%3Dnb_visits%26idSite%3D<?php echo $idSite; ?>%26period%3Dday%26date%3D<?php echo $start; ?>%2C<?php echo $end; ?>%26viewDataTable%3DgenerateDataChartEvolution&loading=Laden..." name="flashvars">
	</object>
	<?php 
} //if
?>
